Result

class Result(val name: Text, val desc: Text? = null, val prefix: Text? = null)

A translation result from a Translatable instance. This is generated internally, but is passed into many builder methods for config GUIs. Think of it, as the name implies, as the result of Fzzy Config generating a translation set for the relevant element.

Author

fzzyhmstrs

Since

0.6.0

Parameters

name

Text the title of the element, such as "Particle Count"

desc

Text, nullable. the tooltip description. Null means no description is present.

prefix

Text, nullable. the inline prefix text of a config entry. Null means no prefix.

Constructors

Link copied to clipboard
constructor(name: Text, desc: Text? = null, prefix: Text? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val desc: Text? = null
Link copied to clipboard
val name: Text
Link copied to clipboard
val prefix: Text? = null